package com.siyuanren.gcocp.enums.wx;

import lombok.Getter;

/**
 * 课程状态
 *
 * @author PVer
 */
@Getter
public enum VoucherStateEnum implements BaseEnum {
    VOUCHER_STATE_NOT_USED("未使用", 0),
    VOUCHER_STATE_OVERDUE("已过期", 1),
    VOUCHER_STATE_YET_USED("已使用", 2);

    private String desc;
    private int value;


    VoucherStateEnum(String desc, int value) {
        this.desc = desc;
        this.value = value;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setValue(int value) {
        this.value = value;
    }
}